package com.sunday.redisson.lock;

import com.google.gson.Gson;
import com.sunday.common.core.enums.ErrorCodeEnum;
import com.sunday.redisson.annotation.OpenDistributedLock;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description:
 * @Author: zsy
 * @Create: 2022/2/18 15:29
 */
@Data
@OpenDistributedLock(value = "class_lock_user", errorCodeEnum = ErrorCodeEnum.A0_001)
public class ClassDTO implements Serializable {

    private String[] strArr;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

}
